www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Labeling/AllLeb.asp

    <html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--全部影片标签</title>
<LINK href="../css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script>
<table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0>
  <tbody>
    <tr>
      <td colspan="4" class=xingmu>全部影片标签</td>
    </tr>
	  <form method="post" name="typelebForm">
	     <tr>
      <td height=32 align="right" class="hback">选择栏目:</td>
      <td height=32 colspan="3" class="hback"><input name="ClassName" type="text" size="30" readonly>
        <input name="typeid" type="hidden" id="typeid" value="">
        <input type="button" name="SubmitClass" value="选择栏目" onClick="SelectClassLeb();"></td>
    </tr> 
    <tr>
      <td height=32 align="right" class="hback">排序方式:</td>
      <td height=32 colspan="3" class="hback"><select name="Sorting" style="width: 150px;">
        <option value="1">影片ID(降序)</option>
        <option value="2">影片ID(升序)</option>
        <option value="3">影片更新时间(降序)</option>
        <option value="4">影片更新时间(升序)</option>
		<option value="5">点播次数(降序)</option>
        <option value="6">点播次数(升序)</option>
      </select></td>
    </tr>
    <tr>
      <td height=34 align="right" class="hback">并排数量:</td>
      <td height=34 colspan="3" class="hback"><input name="TdVolume" type="text" value="1"></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">新开窗口:</td>
      <td height=32 colspan="3" class="hback"><select name="OpenStyle" style="width: 150px;">
        <option value="1">是新窗口打开</option>
        <option value="2">否原窗口打开</option>
      </select></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">影片名称字数:</td>
      <td width="21%" height=16 class="hback"><input type="text" name="TitleVolume"></td>
      <td width="20%" height=16 align="right" class="hback">名称链接CSS:</td>
      <td height=16 class="hback"><input type="text" name="TitleStyle"></td>
    </tr>
    <tr>
      <td height=32 colspan="4" align="center" class="hback"><input type="button" onClick="ok(this.form)" name="Submit" value="添加"></td>
    </tr>
	</form>
  </tbody>
</table>
<script language="JavaScript">
	function ok(obj)
	{
		var retV = '{$AllLeb(';
		retV+= formvalue(obj.typeid.value) + ',';
		retV+= obj.TdVolume.value + ',';
		retV+= formvalue(obj.TitleVolume.value) + ',';
		retV+= formvalue2(obj.TitleStyle.value) + ',';
		retV+= obj.Sorting.value + ',';
		retV+= obj.OpenStyle.value + ')';
		retV+='}';
		InsertLabel(retV)
	}
function formvalue(namevalue)
{
	if(namevalue=="")
		namevalue='""';
		return namevalue;
}
function formvalue2(namevalue2)
{
	if(namevalue2=="")
	{
		namevalue2='""';
	}
	else
	{
	namevalue2='"'+namevalue2+'"'
	}
		return namevalue2;
}

<%if Request.QueryString("text")=1 then%>
function InsertLabel(LabelContent)
{
	window.returnValue=LabelContent;
	window.close();
}
window.onunload=SetReturnValue;
function SetReturnValue()
{
	if (typeof(window.returnValue)!='string') window.returnValue='';
}
<%else%>
function InsertLabel(LabelContent)
{
	var obj=dialogArguments.oUtil.obj;
	obj.insertHTML(LabelContent)
	window.close();
}
<%end if%>
</script>
</BODY></HTML>